import 'dart:ui';

class SliderController {
  VoidCallback? _addStep;
  VoidCallback? _subStep;

  set addStep(VoidCallback? addStep) {
    _addStep = addStep;
  }

  set subStep(VoidCallback? subStep) {
    _subStep = subStep;
  }

  onAddStepClick() {
    _addStep?.call();
  }

  onSubStepClick() {
    _subStep?.call();
  }
}
